/**
 * @param {string} word1
 * @param {string} word2
 * @return {number}
 * 先取差集，再计算组合
 */
var validSubstringCount = function(word1, word2) {
    const arr1 = word1.split('')
    const arr2 = word2.split('')
    
};